package com.ip.camera;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.Toast;

public class MessageActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.message);
		Button seeJBButton = (Button) this.findViewById(R.id.seeAlarm);
		seeJBButton.setOnClickListener(new Button.OnClickListener() {
			@Override
			public void onClick(View v) {
				Toast.makeText(MessageActivity.this, "view alarm",
						Toast.LENGTH_SHORT).show();
				MessageActivity.this.finish();
			}
		});

		Button caneJBButton = (Button) this.findViewById(R.id.cancleAlarm);
		caneJBButton.setOnClickListener(new Button.OnClickListener() {
			@Override
			public void onClick(View v) {
				Toast.makeText(MessageActivity.this, "cancle",
						Toast.LENGTH_SHORT).show();
				MessageActivity.this.finish();
			}
		});
	}

}
